<div class="flex" style="display: flex;flex-wrap: wrap">
    <if condition="$val['status'] egt 0" >
    <volist name="book_list" id="val">
        <div class="bought_flow">
            <a href="{:U('detail',array('id'=>$val['id']))}">
                <div class="goods_img">
                    <img src="{$val.img}" width="80" height="100" style="margin-left:5px">
                </div>
                <p class="textMore" style="width: 80px">{$val.name}</p>
            </a>

        </div>
    </volist>
     </if>
</div>
